HTMLify

style.css
Views: 34 | Author: cody
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "sans";
  user-select: none;
}

@font-face {
  font-family: "sans";
  src: url(font/sans.ttf);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #19172e;
}

h2 {
  position: absolute;
  top: 0;
  padding-top: 140px;
  color: white;
  font-size: 2rem;
  text-align: center;
}

button#emoji-btn {
  border: none;
  font-size: 5rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(25px);
  border-radius: 10px;
  filter: grayscale();
  padding: 15px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

button#emoji-btn:hover {
  transform: scale(1.3);
  filter: grayscale(0);
}

footer {
  background-color: #19172e;
  text-align: center;
  color: white;
  font-size: 1rem;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin-bottom: 0;
  padding: 5px;
  line-height: 3vh;
}

footer a:visited {
  color: inherit;
}

Comments